class BaseActor:
    # 迁移完成✅
    def set_opacity(self, v):
        self.instance.GetProperty().SetOpacity(v)

    # 迁移完成✅
    def get_opacity(self):
        return self.instance.GetProperty().GetOpacity()

    # 迁移完成✅
    def set_visible(self, vis):
        self.instance.SetVisibility(vis)

    # 迁移完成✅
    def get_visible(self):
        return self.instance.GetVisibility()
